/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.furb.trabalhoFinal.Strategy;

import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;

/**
 *
 * @author Usuario
 */
public class ClipBoardStrategy implements SaidaStrategy{

  @Override
  public void gerarFolha(String folha) {
    Toolkit toolkit = Toolkit.getDefaultToolkit();
		Clipboard clipboard = toolkit.getSystemClipboard();
		StringSelection strSel = new StringSelection(folha);
		clipboard.setContents(strSel, null);
  }

}
